//
//  XJMyOrderSectionFooterView.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/26.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XJMyOrderBtnModel;


typedef void(^XJMyOrderSectionFooterViewFirstButtonBlock) (XJMyOrderBtnModel *btnModel);
typedef void(^XJMyOrderSectionFooterViewSecondButtonBlock)(XJMyOrderBtnModel *btnModel);

@interface XJMyOrderSectionFooterView : UITableViewHeaderFooterView

/**第一个按钮的回调事件 第一个按钮可能为不存在*/
@property (nonatomic, copy)XJMyOrderSectionFooterViewFirstButtonBlock myOrderSectionFooterViewFirstButtonBlock;
/**第二个按钮的回调事件 */
@property(nonatomic, copy) XJMyOrderSectionFooterViewSecondButtonBlock myOrderSectionFooterViewSecondButtonBlock;


/**
 配置区尾

 @param hide 第一个按钮是否隐藏
 @param count 共一件商品
 @param price ￥44.0
 @param remark (含运费6元)
 @param firstTitle eg:取消订单
 @param secondTitle 立即付款
 */
- (void)configureXJMyOrderSectionFooterViewHideFirstButton:(BOOL)hide
                                                     count:(NSString *)count
                                                     price:(NSString *)price
                                                   remarks:(NSString *)remark
                                           fistButtonTitle:(NSString *)firstTitle
                                         secondButtonTitle:(NSString *)secondTitle;



- (void)configureXJMyOrderSectionFooterViewCount:(NSString *)count
                                           price:(NSString *)price
                                         freight:(NSString *)freight
                                        bntArray:(NSArray *)btnArr;




@end
